<?php
include 'koneksi.php';
$id = isset($_GET['propinsi_id']) ? intval($_GET['propinsi_id']) : 0;
$query = "SELECT kota_id,kota_kabupaten FROM kota_kabupaten WHERE propinsi_id='$id'";
$result = mysql_query($query);
$respon = array();
while ($hasil = mysql_fetch_array($result))
{
    $respon[] = $hasil;
}
echo json_encode($respon);

?>